package com.foreverwin.mes.meapi.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.meapi.model.ReasonCode;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-18
 */
public interface ReasonCodeService extends IService<ReasonCode> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<ReasonCode> selectPage(FrontPage<ReasonCode> frontPage, ReasonCode reasonCode);

    List<ReasonCode> selectList(ReasonCode reasonCode);
}